projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b78d42
)
* net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
author
Michael Albinus
<michael.albinus@gmx.de>
Mon, 29 Jun 2009 20:41:17 +0000
(20:41 +0000)
committer
Michael Albinus
<michael.albinus@gmx.de>
Mon, 29 Jun 2009 20:41:17 +0000
(20:41 +0000)
modes mandatory. (Bug#3712)
lisp/net/tramp.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp.el
b/lisp/net/tramp.el
index 7f207070af3c4ca62cd3531e5bae239d5b30bb8e..be41858a7b1f5cb48e0b9d2988a2cc8e5b2b55ef 100644
(file)
--- a/
lisp/net/tramp.el
+++ b/
lisp/net/tramp.el
@@
-3362,9
+3362,8
@@
the uid and gid from FILENAME."
(error)))))))))
;; Set the time and mode. Mask possible errors.
- ;; Won't be applied for 'rename.
(condition-case nil
- (when
(and keep-date (not preserve-uid-gid))
+ (when
keep-date
(set-file-times newname (nth 5 (file-attributes filename)))
(set-file-modes newname (tramp-default-file-modes filename)))
(error)))))